Lucene search
+L
Gitpython ProjectGitpython

16 matches found

CVE
CVE
added 2026/08/01 12:22 p.m.108 views

CVE-2026-67322

GitPython before 3.1.52 is vulnerable to environment-variable exfiltration in Repo.clone_from(). The clone URL is passed through Git.polish_url(), which on non-Cygwin platforms expands environment variables in the URL via os.path.expandvars(). An attacker-controlled clone URL can embed $NAME or $...

8.7CVSS5.6AI score0.00275EPSS
Save
CVE
CVE
added 2026/08/01 12:22 p.m.97 views

CVE-2026-67323

GitPython < 3.1.51 is affected. The vulnerability stems from failing to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), enabling command injection via options like --exec and --upload-pack. Additionally, Repo.iter_commits() and Repo.blame(...

8.6CVSS5.6AI score0.01037EPSS
Save
CVE
CVE
added 2026/05/07 6:17 p.m.76 views

CVE-2026-42215

GitPython CVE-2026-42215: A vulnerability in GitPython allows arbitrary command execution when attacker-controlled kwargs are passed to Repo.clone_from(), Remote.fetch(), Remote.pull(), or Remote.push() via the Python kwargs upload_pack/receive_pack. The default unsafe-options guard (allow_unsafe...

8.8CVSS6AI score0.00749EPSS
Save
CVE
CVE
added 2026/08/13 11:28 a.m.66 views

CVE-2026-73623

GitPython prior to 3.1.54 contains an incomplete denylist in unsafe_git_clone_options that omits --template, enabling attackers to achieve arbitrary command execution during clone operations. By supplying --template pointing to a directory with malicious post-checkout hooks, an attacker could tri...

8.8CVSS5.7AI score0.00961EPSS
Save
CVE
CVE
added 2026/08/13 11:28 a.m.64 views

CVE-2026-73620

GitPython 3.x has a vulnerability in which GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing attackers to pass unsafe options via kwargs. This can enable --prefix to overwrite arbitrary files with repository content and -F to ...

8.1CVSS5.3AI score0.00358EPSS
Save
CVE
CVE
added 2026/08/01 12:22 p.m.63 views

CVE-2026-67325

GitPython before 3.1.51 is vulnerable to a command injection issue due to an incomplete blocklist that does not account for git’s long-option prefix abbreviation. Attackers can bypass the unsafe options guard by using abbreviated option names (for example, upload_p instead of upload_pack); Git re...

8.8CVSS5.6AI score0.01854EPSS
Save
CVE
CVE
added 2026/05/07 6:22 p.m.60 views

CVE-2026-44243

GitPython (Python library for interacting with Git repositories) contains a path-traversal vulnerability in its reference APIs. Before version 3.1.48, attacker-controlled reference names can be used to cause writes, renames, or deletions of files outside the repository’s .git directory due to ins...

8.8CVSS5.7AI score0.00419EPSS
Save
CVE
CVE
added 2026/08/13 11:28 a.m.50 views

CVE-2026-73625

GitPython before 3.1.54 contains a remote code execution vulnerability in the check_unsafe_options guard that can be bypassed by smuggling git options inside single-character kwarg values. Attackers can supply crafted option dictionaries to clone_from, fetch, pull, push, ls_remote, iter_commits, ...

8.8CVSS6.4AI score0.00653EPSS
Save
CVE
CVE
added 2026/08/13 11:28 a.m.46 views

CVE-2026-73622

GitPython

8.7CVSS5.3AI score0.00354EPSS
Save
CVE
CVE
added 2026/08/19 2:02 p.m.43 views

CVE-2026-76221

GitPython before 3.1.58 is affected by a config-name injection vulnerability in the option-name validator. The validator fails to properly sanitize option names, allowing an attacker to inject equals signs, hash symbols, and whitespace to forge arbitrary git-config directives. A crafted option na...

8.8CVSS5.9AI score0.00485EPSS
Save
CVE
CVE
added 2026/08/19 2:02 p.m.43 views

CVE-2026-76222

GitPython (versions before 3.1.58) fails to sanitize submodule names read from .gitmodules files, enabling path traversal during submodule initialization. An attacker can craft a malicious repository with traversal sequences (e.g., ../) in submodule names, causing GitPython to create attacker-con...

8.4CVSS5.5AI score0.00333EPSS
Save
CVE
CVE
added 2026/08/19 2:02 p.m.41 views

CVE-2026-76219

GitPython before 3.1.58 allows arbitrary file overwrite via injection of the --index-output option into git read-tree in IndexFile.from_tree, reset, and merge_tree methods. With low privileges, attackers destroy content at writable paths. CVSS 8.1 HIGH. Upgrade to 3.1.58. No in-the-wild exploitat...

8.1CVSS5.5AI score0.00299EPSS
Save
CVE
CVE
added 2026/08/25 1:30 a.m.40 views

CVE-2026-78677

GitPython before 3.1.59 omits the --separate-git-dir option from its unsafe_git_clone_options list, enabling a path traversal attack. An attacker can pass a separate_git_dir parameter to Repo.clone_from() or Repo.clone() to redirect repository metadata to an attacker-controlled filesystem path, r...

8.7CVSS5.7AI score0.0043EPSS
Save
CVE
CVE
added 2026/08/19 2:02 p.m.36 views

CVE-2026-76218

GitPython before 3.1.58 has an RCE flaw in Repo.init that passes unvalidated git options, allowing attackers to inject a template directory with malicious hooks executed during subsequent git operations. Affected libraries should upgrade to 3.1.58 or later; no in-the-wild exploitation is reported...

8.8CVSS6.7AI score0.0072EPSS
Save
CVE
CVE
added 2026/08/19 2:02 p.m.33 views

CVE-2026-76220

GitPython before 3.1.58 allows arbitrary OS command execution: attackers bypass the check_unsafe_options guard by passing a single-character kwarg with split_single_char_options=False, crafting a joined token parsed as --upload-pack in guarded methods like clone_from, even at default allow_unsafe...

8.8CVSS5.8AI score0.0057EPSS
Save
CVE
CVE
added 2026/08/25 1:30 a.m.33 views

CVE-2026-78675

GitPython before 3.1.59 fails to disable merge_includes when parsing .gitmodules, enabling a local file content disclosure attack. An attacker who can place a malicious .gitmodules file in a repository can craft [include] directives pointing to sensitive local files. When repo.submodules is acces...

8.6CVSS5.5AI score0.00119EPSS
Save